package jmine.tec.persist.schema.singletable;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

import jmine.tec.persist.annotation.DiscriminatorComment;
import bancosys.tec.component.Documentation;

@Entity
@DiscriminatorValue("1")
@DiscriminatorComment("FIRST BORN")
public class SingleTableChild1Entity extends AbstractSingleTableEntity {

    private String campoCompartilhado;

    private String campoProprio;

    /**
     * @return the campoCompartilhado
     */
    @Column(name = "CAMPO_COMPARTILHADO", length = 4)
    @Documentation("CAMPO COMPARTILHADO")
    public String getCampoCompartilhado() {
        return this.campoCompartilhado;
    }

    /**
     * @return the campoProprio
     */
    @Column(name = "CAMPO_PROPRIO1", length = 42)
    @Documentation("CAMPO PROPRIO1")
    public String getCampoProprio() {
        return this.campoProprio;
    }

    /**
     * @param campoCompartilhado the campoCompartilhado to set
     */
    public void setCampoCompartilhado(String campoCompartilhado) {
        this.campoCompartilhado = campoCompartilhado;
    }

    /**
     * @param campoProprio the campoProprio to set
     */
    public void setCampoProprio(String campoProprio) {
        this.campoProprio = campoProprio;
    }
}
